<!doctype html>
<!--
The MIT License

Copyright (c) 2010-2011, Sonatype, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>MavenBuildInfo GWT Dev Page</title>
    <script type="text/javascript" language="javascript">
        var baseRestURI = "/rest/plugin/maven3-plugin";

        // Fill in what you need here for testing.
        // Once there's a test servlet on the backend these values may not matter
        // for dev mode.
        // Or send as query parameters 'project' and 'build'
        // Preference is given to the javascript values if they're not null.
        //var projectName = "hudson-maven";
        //var buildNumber = "1";
        
        // Might even be able to make these attributes of the mainPanel div
        // and have GWT pull them off the element.  That may make prod vs dev
        // mode easier to configure with text entry on the dev page that sets
        // these.
    </script>
    <script type="text/javascript" language="javascript" src="MavenBuildInfo/MavenBuildInfo.nocache.js"></script>
	<style type="text/css">
		/* Simulates Hudson wrapper sizing */
		body
		,html
		{
		    height: 550px;
		    margin: 0;
		    padding: 0;
		}
        
        /*
            Force the size since we can't use the new RootLayoutPanel which takes
            care of filling parents for us.
        */		
		#maven3-buildInfoPanel
		{
		    width: 100%;
		    height: 100%;
		    /* Useful for debugging panel/div/container sizing issues
		    background: aliceblue;
		    */
		}
	</style>
  </head>

  <body>
    <h1>GWT page for rapid dev mode</h1>
  
    <div id="maven3-buildInfoPanel"/>
  </body>
</html>
